﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace TienTeTuong.back_end
{
    public partial class OrderManagement : System.Web.UI.Page
    {
        public List<OrderDTO> orders = new List<OrderDTO>();
        Order orderDao = new Order();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session["Admin"] == null)
            {
                Response.Redirect("Default.aspx");
            }
            orders = orderDao.listOrder();
        }
    }
}